<?php echo $this->doctype(); ?>
<html>
	<head>
		<?php
			echo $this->headTitle();

			$this->headLink()
					->prependStylesheet('/css/ui.daterangepicker.css')
					->prependStylesheet('/css/site.css')
					->prependStylesheet('/css/jquery.ui.css')
//					->prependStylesheet('/css/print.css', 'print')
//					->prependStylesheet('/css/ie.css', 'screen, projection', 'IE')
//					->prependStylesheet('/css/screen.css', 'screen, projection')
					;

			echo $this->headLink();

			$this->headScript()
				->prependFile('/js/site.js')
				->prependFile('/js/jquery.autocomplete.js')
				->prependFile('/js/daterangepicker.jQuery.js')
				->prependFile('/js/jquery.ui.min.js')
				->prependFile('/js/jquery.min.js')
				;

			echo $this->headScript();
		?>
	</head>
	<body>
		<div class="header">
			<div class="topline">
				<a href="/" class="logo">Tender.Travel</a>
			</div>
			<div class="menu"><?php echo $this->navigation()->menu()->setMaxDepth(1)->setMinDepth(1); ?></div>
		</div>
		<div class="content">
			<div class="right">
				<div class="user">
				    <?php echo $this->action('info', 'profile', 'user'); /*$this->layout()->userinfo*/ ?>
                    <?php echo $this->action('login', 'user', 'default') /*$this->layout()->userlogin*/ ?>
                </div>
                <div class="menu"><?php 
                    echo $this->navigation()->menu()->setMaxDepth(3)->setMinDepth(0)->renderMenu(); ?></div>
			</div>
			<div class="center">
				<div style="border-bottom: 1px dotted gray"><?php 
				    echo $this->navigation()->breadcrumbs()->render(); 
				?></div>
				<div><?php echo $this->layout()->content; ?></div>
			</div>
			<div class="clear"></div>
		</div>
		<div class="footer">&copy; 2012-<?php echo date('Y') ?></div>
	</body>
</html>
